home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / amos / amoslist-0195.lzh / AMOSLIST / text0149.txt < prev    next >
Encoding:
Text File  |  1995-02-01  |  593 b   |  17 lines

  1. I`ve been not reading my mail for a few days, so this might have been
  2. already suggested :-(.
  3.  
  4. But how about suporting both. Ie have a command to set the global
  5. varaible that points to the bank or whatever in question :
  6. SetIconBank( 1 ); and also have a parameter passed to the function
  7. which can overwrite this if required, but uses the global varaible
  8. value if NULL;
  9. PasteIcon( x, y, icon_num, NULL); /* Use global variable */
  10. PasteIcon( x, y, icon_num, 3 ); /* use bank 3 for this call only */
  11.  
  12. Using C`s Vargs could be helpful here as well, or it could be a
  13. tag list option.
  14.  
  15.     Andrew Cook
  16.  
  17.